<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>藏在黑匣子里的光怪陆离</title>
    <link href="https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@400;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Noto Serif SC', serif;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
            color: #e6e6e6;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        
        .container {
            width: 100%;
            max-width: 800px;
            background: rgba(20, 20, 20, 0.9);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            border: 1px solid #333;
            position: relative;
        }
        
        .lock-screen {
            width: 100%;
            height: 100%;
            background: rgba(10, 10, 10, 0.98);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 100;
            padding: 40px 30px;
            transition: transform 0.8s ease, opacity 0.8s ease;
        }
        
        .lock-content {
            text-align: center;
            max-width: 500px;
            width: 100%;
        }
        
        .lock-icon {
            font-size: 4rem;
            color: #d4af37;
            margin-bottom: 20px;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        .lock-screen h2 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: #d4af37;
            font-family: 'Ma Shan Zheng', cursive;
        }
        
        .lock-screen p {
            font-size: 1.1rem;
            margin-bottom: 30px;
            color: #aaa;
            line-height: 1.6;
        }
        
        .password-input {
            width: 100%;
            max-width: 300px;
            padding: 12px 20px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid #444;
            border-radius: 30px;
            color: white;
            font-size: 1.1rem;
            text-align: center;
            margin-bottom: 20px;
            transition: all 0.3s;
        }
        
        .password-input:focus {
            outline: none;
            border-color: #d4af37;
            box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
        }
        
        .submit-btn {
            padding: 12px 30px;
            background: linear-gradient(135deg, #d4af37 0%, #b8941d 100%);
            border: none;
            border-radius: 30px;
            color: #1a1a1a;
            font-weight: bold;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
        }
        
        .error-message {
            color: #ff6b6b;
            margin-top: 15px;
            font-size: 0.9rem;
            display: none;
        }
        
        .content {
            display: none;
            opacity: 0;
            transition: opacity 1s ease;
        }
        
        .header {
            text-align: center;
            padding: 30px 20px;
            background: rgba(0, 0, 0, 0.7);
            border-bottom: 1px solid #333;
        }
        
        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            color: #d4af37;
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
            font-family: 'Ma Shan Zheng', cursive;
        }
        
        .header p {
            font-size: 1.1rem;
            color: #aaa;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }
        
        .gift-list {
            padding: 30px;
        }
        
        .gift-item {
            display: flex;
            margin-bottom: 25px;
            padding: 15px;
            border-radius: 8px;
            background: rgba(30, 30, 30, 0.7);
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
        }
        
        .gift-item:hover {
            background: rgba(40, 40, 40, 0.8);
            transform: translateY(-3px);
            border-left: 3px solid #d4af37;
        }
        
        .gift-icon {
            font-size: 2rem;
            margin-right: 20px;
            min-width: 60px;
            text-align: center;
            color: #d4af37;
        }
        
        .gift-content h3 {
            font-size: 1.3rem;
            margin-bottom: 5px;
            color: #e6e6e6;
        }
        
        .gift-content p {
            color: #aaa;
            line-height: 1.6;
        }
        
        .footer {
            text-align: center;
            padding: 20px;
            border-top: 1px solid #333;
            font-style: italic;
            color: #777;
            background: rgba(0, 0, 0, 0.7);
        }
        
        @media (max-width: 600px) {
            .gift-item {
                flex-direction: column;
                text-align: center;
            }
            
            .gift-icon {
                margin-right: 0;
                margin-bottom: 10px;
            }
            
            .header h1 {
                font-size: 2rem;
            }
            
            .lock-screen h2 {
                font-size: 1.5rem;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 密码锁屏 -->
        <div class="lock-screen" id="lockScreen">
            <div class="lock-content">
                <div class="lock-icon">
                    <i class="fas fa-lock"></i>
                </div>
                <h2>藏在黑匣子里的光怪陆离</h2>
                <p>请输入密码查看这份神秘的礼物清单</p>
                <input type="password" class="password-input" id="passwordInput" placeholder="请输入密码">
                <button class="submit-btn" id="submitBtn">开启黑匣子</button>
                <p class="error-message" id="errorMessage">密码错误，请重新输入</p>
            </div>
        </div>
        
        <!-- 内容区域 - 初始状态隐藏 -->
        <div class="content" id="content">
            <div class="header">
                <h1>藏在黑匣子里的光怪陆离</h1>
                <p>每一件物品都是一个故事，每一份礼物都藏着一片天地</p>
            </div>
            
            <div class="gift-list">
                <div class="gift-item">
                    <div class="gift-icon">🧸</div>
                    <div class="gift-content">
                        <h3>心灵相通的小熊</h3>
                        <p>你可以听到它心里话的小熊，沉默中藏着最温暖的低语</p>
                    </div>
                </div>
                
                <div class="gift-item">
                    <div class="gift-icon">🌸</div>
                    <div class="gift-content">
                        <h3>永恒的花束</h3>
                        <p>永远不会凋谢的雏菊与玫瑰，定格在最灿烂的瞬间</p>
                    </div>
                </div>
                
                <div class="gift-item">
                    <div class="gift-icon">👦</div>
                    <div class="gift-content">
                        <h3>皮衣小男孩</h3>
                        <p>帅气酷酷的皮衣小男孩，永远保持着那份不羁与纯真</p>
                    </div>
                </div>
                
                <div class="gift-item">
                    <div class="gift-icon">☕</div>
                    <div class="gift-content">
                        <h3>烘焙暖香</h3>
                        <p>弥漫着烘焙暖香的咖啡豆香囊，每一缕香气都是温暖的拥抱</p>
                    </div>
                </div>
                
                <div class="gift-item">
                    <div class="gift-icon">📿</div>
                    <div class="gift-content">
                        <h3>发丝间的咖啡豆</h3>
                        <p>咖啡豆模样缠绕发丝的发绳，将日常点缀成艺术</p>
                    </div>
                </div>
                
                <div class="gift-item">
                    <div class="gift-icon">✨</div>
                    <div class="gift-content">
                        <h3>星光手链</h3>
                        <p>镌刻着星光的银制细手链，腕间流淌着一整条银河</p>
                    </div>
                </div>
                
                <div class="gift-item">
                    <div class="gift-icon">🥛</div>
                    <div class="gift-content">
                        <h3>童年味道</h3>
                        <p>童年味道的娃哈哈与旺仔牛奶，一口回到最纯真的年代</p>
                    </div>
                </div>
                
                <div class="gift-item">
                    <div class="gift-icon">💫</div>
                    <div class="gift-content">
                        <h3>未来之味</h3>
                        <p>某个未来遇见时淡淡的香水味，提前封装了注定相遇的瞬间</p>
                    </div>
                </div>
                
                <div class="gift-item">
                    <div class="gift-icon">📅</div>
                    <div class="gift-content">
                        <h3>纪念之日</h3>
                        <p>记录着认识那天的一页日历，时光从此有了特殊的标记</p>
                    </div>
                </div>
            </div>
            
            <div class="footer">
                <p>每一个黑匣子都藏着一段光怪陆离的旅程</p>
            </div>
        </div>
    </div>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            const lockScreen = document.getElementById('lockScreen');
            const content = document.getElementById('content');
            const passwordInput = document.getElementById('passwordInput');
            const submitBtn = document.getElementById('submitBtn');
            const errorMessage = document.getElementById('errorMessage');
            
            // 正确的密码
            const correctPassword = '06251014';
            
            // 提交密码
            submitBtn.addEventListener('click', checkPassword);
            passwordInput.addEventListener('keypress', function(e) {
                if (e.key === 'Enter') {
                    checkPassword();
                }
            });
            
            function checkPassword() {
                if (passwordInput.value === correctPassword) {
                    // 密码正确，解锁
                    lockScreen.style.transform = 'translateY(-100%)';
                    lockScreen.style.opacity = '0';
                    setTimeout(() => {
                        lockScreen.style.display = 'none';
                        content.style.display = 'block';
                        setTimeout(() => {
                            content.style.opacity = '1';
                        }, 50);
                    }, 800);
                } else {
                    // 密码错误
                    errorMessage.style.display = 'block';
                    passwordInput.value = '';
                    setTimeout(() => {
                        errorMessage.style.display = 'none';
                    }, 3000);
                }
            }
        });
    </script>
</body>
</html>